﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Pages_AddCity" Codebehind="CityInsert.aspx.cs" MasterPageFile="~/Pages/Master/MainAdmin.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        <fieldset id="pageLoad">
        <div id="fillInData">
           <h1>Cadastro de Cidade</h1>
           <asp:ValidationSummary ID="ValidationSummary2" runat="server" 
                CssClass="validation message" />
           <div class="fillInDataField">
                <div class="label">
                    <label for="txbDescricao">Descrição</label>
                </div>
                    <asp:TextBox ID="txbDescricao" runat="server" CssClass="component medium" MaxLength="50"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvDescricao" runat="server" 
                        ControlToValidate="txbDescricao" ErrorMessage="Preencha a descrição." 
                    CssClass="validation">*</asp:RequiredFieldValidator>
           </div>
           
           <div class="fillInDataField">
                <div class="label">
                    <label for="ddlStates">Estado</label>
                </div>
                <asp:DropDownList ID="ddlStates" runat="server" 
                    CssClass="component tiny"></asp:DropDownList>
           </div>
           <asp:Button ID="btnCadastrar" runat="server" onclick="btnCadastrar_Click" 
            Text="Cadastrar" CssClass="button add" />
        </div>
        </fieldset>
</asp:Content>
